<template>
    <ui-main :title="$route.name" noPadding>
        <div class="p-20">
            <div>
                <ui-display :code="textarea"></ui-display>
            </div>

            <ui-codemirror v-model="textarea"></ui-codemirror>
            <div class="ui divider"></div>
            <ui-load-md file="cellEdit"></ui-load-md>
        </div>
    </ui-main>
</template>
<script>
    export default {
        data() {
            return {
                textarea: ''
            }
        },
        mounted() {
            let code = () => import('./_vueCode.js')
            code().then((module) => {
                // this.log(module.default)
                this.textarea = module.default
            })
        },
        methods: {
        }

    };
</script>

